<%@ page contentType="text/html;charset=gbk" %>
<%@ page import="java.sql.*"%>
<%@ page import="com.oa.database.*"%>
<%@ page import="com.oa.util.Format"%>
<%@ include file="/share/login_info.jsp"%>
<%
    String sId = request.getParameter("id");
    if (sId == null) {
        sId = "0";
    }

    String sTable = "OA_GWMB";
    String sField = "MBNR";
    String sCond  = "MBID="+sId;

    Format format = new Format();
    DataConn dataConn = new DataConn();
    QueryData queryData = new QueryData(dataConn);
    queryData.setMultRecordSet(sTable, sField, sCond);
    ResultSet rs_temp = queryData.getResultSet();
    String temp_content = "";
    int temp_type = 0;
    try {
        if (rs_temp.next()) {
            temp_content = format.toSpaceStr(rs_temp.getString("MBNR"));
            out.println(temp_content);
        }
    }
    catch(Exception e) { out.println("em"+e);}
    try {
		if (dataConn != null) {
		    dataConn.close();
		}
    }
    catch(Exception eee) {}
%>
